package com.tudouji.project.d3.domain;

import java.math.BigDecimal;
import com.tudouji.framework.aspectj.lang.annotation.Excel;
import com.tudouji.framework.web.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 商品对应关系对象 d3_pro_to_sp
 * 
 * @author tudouji
 * @date 2023-04-10
 */
public class D3ProToSp extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** d3_shop的主键 */
    @Excel(name = "d3_shop的主键")
    private Long shopId;

    /** 平台spuId */
    @Excel(name = "平台spuId")
    private String refspuid;

    /** 平台skuId */
    @Excel(name = "平台skuId")
    private String refskuid;

    /** 货品标题 */
    @Excel(name = "货品标题")
    private String title;

    /** sku规格属性 */
    @Excel(name = "sku规格属性")
    private String standards;

    /** ERP系统规格表id */
    @Excel(name = "ERP系统规格表id")
    private Long spId;

    /** ERP系统规格名称 */
    @Excel(name = "ERP系统规格名称")
    private String spName;

    /** 数量 */
    @Excel(name = "数量")
    private Integer num;

    /** 单价 */
    @Excel(name = "单价")
    private BigDecimal price;

    private String d3PosCode;

    /**创建人名称*/
    private String nickName;

    private String shopName;

    private Long createby;

    public String getShopName() {
        return shopName;
    }

    public void setShopName(String shopName) {
        this.shopName = shopName;
    }

    public Long getCreateby(){
        return createby;
    }

    public void setCreateby(Long createby){
        this.createby=createby;
    }

    public String getNickName(){
        return nickName;
    }

    public void setNickName(String nickName){
        this.nickName=nickName;
    }

    public String getD3PosCode() {
        return d3PosCode;
    }

    public void setD3PosCode(String d3PosCode) {
        this.d3PosCode = d3PosCode;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setShopId(Long shopId) 
    {
        this.shopId = shopId;
    }

    public Long getShopId() 
    {
        return shopId;
    }
    public void setRefspuid(String refspuid) 
    {
        this.refspuid = refspuid;
    }

    public String getRefspuid() 
    {
        return refspuid;
    }
    public void setRefskuid(String refskuid) 
    {
        this.refskuid = refskuid;
    }

    public String getRefskuid() 
    {
        return refskuid;
    }
    public void setTitle(String title) 
    {
        this.title = title;
    }

    public String getTitle() 
    {
        return title;
    }
    public void setStandards(String standards) 
    {
        this.standards = standards;
    }

    public String getStandards() 
    {
        return standards;
    }
    public void setSpId(Long spId) 
    {
        this.spId = spId;
    }

    public Long getSpId() 
    {
        return spId;
    }
    public void setSpName(String spName) 
    {
        this.spName = spName;
    }

    public String getSpName() 
    {
        return spName;
    }
    public void setNum(Integer num)
    {
        this.num = num;
    }

    public Integer getNum()
    {
        return num;
    }
    public void setPrice(BigDecimal price) 
    {
        this.price = price;
    }

    public BigDecimal getPrice() 
    {
        return price;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("shopId", getShopId())
            .append("refspuid", getRefspuid())
            .append("refskuid", getRefskuid())
            .append("title", getTitle())
            .append("standards", getStandards())
            .append("spId", getSpId())
            .append("spName", getSpName())
            .append("num", getNum())
            .append("price", getPrice())
            .append("createTime", getCreateTime())
            .append("createBy", getCreateBy())
            .append("updateTime", getUpdateTime())
            .append("updateBy", getUpdateBy())
            .append("nickName",getNickName())
            .append("createby",getCreateby())
            .toString();
    }
}
